package com.qg.execption;

/**
 * 商品项目异常
 */
public enum  Goodsexecption {
    USER_REPEAT_GET(1101,"您以抢购过该商品");
    Goodsexecption(Integer code,String message){
        this.code=code;
        this.message=message;
    }

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
